Teaching Model-Based Testing with the Leirios Test Generator
نویسندگان
چکیده
This paper proposes a technique to encourage the interest of students in learning formal methods. Our course is focused on the B method, involving basic knowledge of set theory, invariance proofs, refinement techniques and so on. While lectures and tutorials cover a large range of such concepts, the practical work is focused on applying the principles of a model-based approach in the context of test generation. This paper explains the pratical outcome of the course, through the Leirios Test Generator tool, that gives an interesting and playful use of the B method, by simulating the execution of the model through animation, and by generating tests –based on the B model– that can be run on an implementation. In order to make sure that students will be interested in applying these techniques, we challenge them to play a game consisting in detecting mutants of a program with their model-based tests. The feedback from the students is very positive here, and suggests that formal methods are more likely to be understood if their interest is shown through a concrete application.
منابع مشابه
An automatic test case generator for evaluating implementation of access control policies
One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...
متن کاملPosition Paper: Model-Based Testing
Model-based testing helps to ensure a repeatable and scientific basis for product testing, gives good coverage of all the behaviors of the product and allows tests to be linked directly to requirements. Intensive research on model-based testing in the last 5-10 years has demonstrated the feasibility of this approach, shown that it can be cost-effective, and has developed a variety of test gener...
متن کاملRequirements traceability in the model-based testing process
Automated test case and test driver generation from a precise behaviour UML model is an emerging approach for software functional validation. This innovative approach for validation testing makes it possible to ensure the functional coverage of the test suite and to automate the production of executable test scripts. This paper presents an approach to automatically produce the traceability matr...
متن کاملModel-based test case generation for source code analyzers
Testing and verification are mandatory when it comes to creating quality software. In order to create a good testing environment, one needs to create a lot of test cases, and typically this is done by hand. This research will reduce the manual effort by creating a model-based test case generator for source code analyzers. Using this generator, creating a suite of test cases will become less eff...
متن کاملImplicational Scaling of Reading Comprehension Construct: Is it Deterministic or Probabilistic?
In English as a Second Language Teaching and Testing situations, it is common to infer about learners’ reading ability based on his or her total score on a reading test. This assumes the unidimensional and reproducible nature of reading items. However, few researches have been conducted to probe the issue through psychometric analyses. In the present study, the IELTS exemplar module C (1994) wa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008